//
//  WMMeetingSimpleTableViewCell.m
//  witMorning
//
//  Created by Mac mini on 2018/1/4.
//  Copyright © 2018年 zt. All rights reserved.
//

#import "WMMeetingSimpleTableViewCell.h"

@implementation WMMeetingSimpleTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(instancetype)initWithFrame:(CGRect)frame{
    if (self) {
        self = [super initWithFrame:frame];
        _lab = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        _lab.numberOfLines = 0;
         [_lab setFont:[UIFont fontWithName:@"Helvetica-Bold" size:16]];
        [self addSubview:_lab];
    }
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    if (selected) {
        _lab.textColor = [UIColor redColor];
    }else{
        _lab.textColor = [UIColor blackColor];
    }
    
    // Configure the view for the selected state
}

@end
